package com.ssii.www.myproject.service;

import com.ssii.www.myproject.common.util.PageList;
import com.ssii.www.myproject.domain.Permission;
import com.ssii.www.myproject.query.PermissionQuery;

import java.util.List;
import java.util.Map;

public interface PermissionService extends BaseService<Permission,Long> {
  Long change(Long state);

  List<Permission> getByUserId(Long id);

//  Map<String,Object> findPermissionsByRoleId(Long row_id);

  PageList<Permission> getPagePermissionsByRoleId(PermissionQuery query);

}
